package com.css.fxfzcpxx.modules.courseManage.service;

import com.css.fxfzcpxx.modules.courseManage.param.CourseManageServiceParam;
import com.css.fxfzcpxx.modules.courseManage.param.CourseManageParam;
import com.css.fxfzcpxx.modules.courseManage.vo.CourseManageServiceParamVO;
import com.css.fxfzcpxx.modules.courseManage.vo.GetHistoryTestVO;
import com.css.fxfzcpxx.modules.courseManage.vo.HistoryTestVO;
import com.css.fxfzcpxx.modules.courseManage.vo.TypeManageVO;
import com.css.fxfzcpxx.modules.questionData.entity.UserTestHistory;
import com.css.fxfzcpxx.modules.questionData.vo.FractionalCurveListVO;
import com.css.fxfzcpxx.modules.questionData.vo.FractionalCurveVO;
import com.css.fxfzcpxx.modules.questionData.vo.UserTestHistoryVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface CourseManageService {
    Map<String, Object> getPage(int curPage, int pageSize, CourseManageParam param);

    void save(CourseManageServiceParam param);

    void updateReleaseStatusById(List<String> id, String toString);

    void delete(String ids);

    void exportData(HttpServletResponse response, String ids);

    void updateById(CourseManageServiceParam param);

    CourseManageServiceParamVO findById(String id);

    List<TypeManageVO> getTypeNum(String typeName);

    GetHistoryTestVO getHistoryTest(String id);

    Map<String, Object> getOnlinePage(int curPage, int pageSize);

    List<UserTestHistory> getTestListByCourseId(String courseId);

    List<UserTestHistoryVO> getRanking();

    FractionalCurveListVO getFractionalCurve();
}
